On Demand Schedules

On Demand Schedules are used to trigger the rendering of publications, alerts, and subscriptions. This improves system performance by triggering the scheduled event, rather than running a schedule to check whether the trigger condition has been met.

When the on demand schedules are triggered for a given data model, all on demand publication, alert, and subscription schedules associated with that model will run. On Demand Schedules can be triggered either when the underlying data model is reprocessed, or using an API call.

Triggering Methods

There are several methods for triggering on demand schedules:

  • An API call triggers on demand schedules.
  • When a cube source is updated, all on demand schedules associated with the cube are triggered.
  • When performing data prep in Pyramid using Model, connect the On Demand node to the Master Flow.

Configuring the On Demand Node

To trigger on demand schedules associated with the data model:

  1. Drag the On Demand node from the Pyramid panel onto the Master Flow canvas.
  2. Position this node after the Data Model node.

  3. Connect the On Demand node to the Data Model node.
  4. The connection is created by selecting the "end connector" (orange arrow) on the source node and then dragging your cursor to the "start connector" (blue arrow) on the target node. Once you select the target and release your mouse button, the connecting arrow is drawn.

  5. Select the On Demand node on the canvas to configure its properties (see below).

The On Demand node triggers all corresponding on demand schedules.

Important: You'll also need to set the relevant publication, alert, and subscription schedules to On Demand. For more information, see On Demand Schedules.

On Demand Properties

Select the On Demand node on the canvas to open its Properties panel.

General

Expand the General panel and add the following metadata details:

Display Name

The name of the node. By default, nodes are assigned a name based on their node type and numbered sequentially (for example, Node 1, Node 2, and Node 3). Change the name as needed.

Description

Enter a description for the node. Use descriptions to document the purpose of nodes and make the master flow easier to understand and maintain. This is especially important where multiple users are working on the model. The description is visible only in the Model app.

Validate

If you do not want to validate this node when you run the validation process; for example, because your flow is under construction and temporarily contains some invalid scripting; you can clear the selection of the Validate checkbox.

Recommended: Always leave the Validate checkbox selected.

Node ID

The unique ID for this node. Click the Copy icon to copy this ID to your clipboard.

Select Model

From the Select Model dropdown list (orange arrow below), select the relevant data model. Each On Demand node can be assigned to a single data model.

Tip: To enable on demand scheduling for content from multiple data sources contained in the current Master Flow, add a separate On Demand node for each relevant data model.